package com.develop.data.loan.option;

import com.develop.data.loan.option.constraint.CodedOption;
import com.develop.data.loan.option.constraint.CommentedOption;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
public enum LoanTimelineType implements CodedOption, CommentedOption {

    ANYTIME("00", "任意时间"),
    FIX_DAY("01", "固定还款日"),
    FIX_INTERVAL("02", "固定间隔");

    @Getter
    private String code;
    @Getter @Setter
    private String comment;


}
